from saxs_stage_big import *

while True:
    command = input('Command:')
    if command[0:8] == 'up fast ':
        angle = float(command[8:])
        up_fast(angle)
    elif command[0:8] == 'up slow ':
        angle = float(command[8:])
        up_slow(angle)
    elif command[0:9] == 'mid fast ':
        angle = float(command[9:])
        mid_fast(angle)
    elif command[0:9] == 'mid slow ':
        angle = float(command[9:])
        mid_slow(angle)
    elif command[0:10] == 'down fast ':
        angle = float(command[10:])
        down_fast(angle)
    elif command[0:10] == 'down slow ':
        angle = float(command[10:])
        down_slow(angle)
    else:
        print('Wrong command.')
